#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

#include "Face.h"

class DisplayWidget;
class FaceDetector;

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

signals:

public slots:
    void newImage(QImage image);

private:
    Ui::MainWindow *ui;
    DisplayWidget* displayWidget;
    FaceDetector* faceDetector;
    QImage currentImage;

private slots:
    void on_actionCapture_Video_triggered();
};

#endif // MAINWINDOW_H
